home *** CD-ROM | disk | FTP | other *** search
- /upl{dup length exch 0 0{3 copy exch pop get dup 64 lt
- {32 sub 4 copy exch pop put pop 1}{63 sub exch 1 add exch
- 4 copy 3 -1 roll pop getinterval 5 copy 3 1 roll pop pop
- putinterval pop}ifelse dup 4 -1 roll add 3 1 roll add
- dup 4 index ge{exit}if}loop 4 -1 roll pop pop 0 exch getinterval}B
- /bmp{save 16 1 roll{0 H}if/@1 X 4 index div add 3 1 roll
- 5 index div add t div 3 1 roll div S @1 1 and 1 eq @1 2 and 2
- eq{g dup{0}{1}ifelse H .5 .5 idtransform abs exch abs 2 copy
- neg 1 add exch neg 1 add exch F rc V G}if
- {currentgray 1. exch sub H}if exch
- {string/S0 X pop/sf findfont setfont exch 1 exch div 1 index 1 exch div
- S 0 1 3 -1 roll 1 sub{{currentfile S0 readline pop currentfile str readline pop
- cvi dup abs 1 sub 3 index m exch M 0 lt{exit}if}loop pop}for}
- {3 index 0 0 5 index 0 0 mtx astore exch 1 rdstr imagemask}
- ifelse restore}B
-